from django.contrib import admin
import xadmin
from runtime.users.models import UserProfile
# Register your models here.
class UserAdmin(object):
	list_display = ('name', 'openId', 'stu_id', 'phone',)
	readonly_fields = ('name', 'openId',)
	list_filter = ('name', 'stu_id', 'phone')


xadmin.site.register(UserProfile, UserAdmin)